@layout("/common/_container.html"){
<ul id="tableNav" class="nav nav-tabs">
    <li role="presentation" class="active"><a href="#tableInfo" data-toggle="tab">表格</a></li>
    <li role="presentation"><a href="#field">字段</a></li>
</ul>

<div id="tableNavContent" class="tab-content form-horizontal">
    <div class="tab-pane fade in active" id="tableInfo">
        <div class="ibox float-e-margins">
            <div class="ibox-content">
                <div class="form-horizontal">
                    <input type="hidden" id="id" value="">
                    <div class="row">
                        <div class="col-sm-3">
                            <#input id="tableName" name="表名" underline="true"/>
                        </div>
                        <div class="col-sm-3">
                            <#input id="className" name="类名" underline="true"/>
                        </div>
                        <div class="col-sm-3">
                            <#input id="content" name="功能" underline="true"/>
                        </div>
                        <div class="col-sm-3">
                            <#select id="isImport" name="导入" underline="true" >
                                <option value="1">是</option>
                                <option value="2">否</option>
                            </#select>
                        </div>
                        <div class="col-sm-3">
                            <#select id="isExport" name="导出" underline="true" >
                                <option value="1">是</option>
                                <option value="2">否</option>
                            </#select>
                        </div>
                        <div class="col-sm-3">
                            <#select id="isPagination" name="分页" underline="true" >
                                <option value="1">是</option>
                                <option value="2">否</option>
                            </#select>
                        </div>
                        <div class="col-sm-3">
                            <#select id="isLog" name="日志" underline="true" >
                                <option value="1">是</option>
                                <option value="2">否</option>
                            </#select>
                        </div>
                        <div class="col-sm-3">
                            <#select id="isProtocol" name="协议" underline="true" >
                                <option value="1">是</option>
                                <option value="2">否</option>
                            </#select>
                        </div>
                        <div class="col-sm-3">
                            <#select id="isProtocol" name="基础表单" underline="true" >
                                <option value="1">是</option>
                                <option value="2">否</option>
                            </#select>
                        </div>
                    </div>
                    @include("/code/tableinfo/list/tableserviceconfig.html"){}

                </div>

            </div>
        </div>
    </div>
    <div class="tab-pane fade" id="field">
        @include("/code/tableinfo/list/tablefield.html"){}
    </div>
</div>

<footer>
    <div class="row btn-group-m-t">
        <div class="col-sm-10">
            <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="TableInfoInfoDlg.addSubmit()"/>
            <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="TableInfoInfoDlg.close()"/>
        </div>
    </div>
</footer>
<script src="${ctxPath}/static/modular/code/tableinfo/tableinfo_info.js"></script>
@}
